//
//  ZJReportBaseView.m
//  ShangHaiHuDongApp
//
//  Created by ZJ on 2017/6/14.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "ZJReportBaseView.h"


@implementation ZJReportBaseView

- (instancetype)initWithFrame:(CGRect)frame title:(NSString *)title
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addSubview:self.titleLabel];
        self.titleLabel.text = title;
    }
    return self;
}





- (UILabel *)titleLabel{
    if (_titleLabel == nil){
        _titleLabel = [[UILabel alloc] initWithFrame: CGRectMake(27 * [UIScreen zj_screenWScale], 0, self.width - 54 * [UIScreen zj_screenWScale], 40 * [UIScreen zj_screenHScale])];
        _titleLabel.textColor = [UIColor textBlackColor];
        _titleLabel.font = [UIFont systemFontOfSize:16 * [UIScreen zj_textFontScale]];
    }
    return _titleLabel;
}

@end
